package org.rsbot.event.impl;

import java.awt.Graphics;
import org.rsbot.bot.Bot;
import org.rsbot.event.listeners.TextPaintListener;
import org.rsbot.script.methods.Game;
import org.rsbot.script.methods.MethodContext;
import org.rsbot.util.StringUtil;

public class TFloorHeight
  implements TextPaintListener
{
  private Game game;

  public TFloorHeight(Bot paramBot)
  {
    this.game = paramBot.getMethodContext().game;
  }

  public int drawLine(Graphics paramGraphics, int paramInt) {
    int i = this.game.getPlane();
    StringUtil.drawLine(paramGraphics, paramInt++, "Floor " + i);
    return paramInt;
  }
}